import request from '@/utils/request'
import { parseStrEmpty,removeEmptyProperties} from "@/utils/ruoyi";

// 潜客用户信息详情查询
export function getDownCompanyById(id) {
    return request({
      url: '/customer/info/v1.0.0/queryById',
      method: 'get',
      params: { 
        id:parseStrEmpty(id)
      }
    })
  }
// 潜客用户信息列表分页查询
export function listDownCompany(data) {
  return request({
    url: '/customer/info/v1.0.0/queryCustomerByPage',
    method: 'post',
    data: removeEmptyProperties(data)
  })
}

// 潜客用户星级标记
export function markStar(data) {
  return request({
    url: '/customer/info/v1.0.0/markStar',
    method: 'post',
    headers: {
      'Content-Type': 'multipart/form-data'
    },
    data: data
  })
}



